import request from "@/utils/request";

// 获取首页项目列表
export function getprojectList(query) {
  return request({
    url: "/qbq/projectInformation/getProjectCountList",
    method: "get",
    params: query,
  });
}

// 新增项目
export function addProject(data) {
  return request({
    url: "/qbq/projectInformation",
    method: "post",
    data: data,
  });
}
//删除项目
export function delProject(data) {
  return request({
    url: "/qbq/projectInformation/" + data,
    method: "delete",
  });
}
//
export function getuserList(query) {
  return request({
    url: "/system/user/list",
    method: "get",
    params: query,
  });
}
